package com.cloudlinkscm.base.authcenter.model.vo;

import com.cloudlinkscm.base.authcenter.model.Role;

import java.util.List;

/**
 * Created by sin on 2017/8/14.
 */
public class UserRoleRelationDistributionVO {

	/**
	 * 未分配
	 */
	private List<Role> roles;
	/**
	 * 已分配
	 */
	private List<String> selectedRoleKeys;

	public UserRoleRelationDistributionVO() {
	}

	public UserRoleRelationDistributionVO(List<Role> roles, List<String> selectedRoleKeys) {
		this.roles = roles;
		this.selectedRoleKeys = selectedRoleKeys;
	}

	@Override
	public String toString() {
		return "UserRoleRelationDistributionVO{" +
				"roles=" + roles +
				", selectedRoleKeys=" + selectedRoleKeys +
				'}';
	}

	public List<Role> getRoles() {
		return roles;
	}

	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}

	public List<String> getSelectedRoleKeys() {
		return selectedRoleKeys;
	}

	public void setSelectedRoleKeys(List<String> selectedRoleKeys) {
		this.selectedRoleKeys = selectedRoleKeys;
	}
}
